<%@ Page language="c#" Codebehind="ManageAds.aspx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.Tools.ManageAds" MasterPageFile="~/ControlPanel/Masters/SetupAdmin.master" %>

<asp:Content ContentPlaceHolderId="DescriptionRegion" runat="server">
	<cp:resourcecontrol id="RegionTitle" runat="Server" resourcename="CP_Ads"></cp:resourcecontrol>
</asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
    <CP:ControlPanelSelectedNavigation runat="server" SelectedNavItem="ManageAds" />
		<DIV class="CommonDescription">
			<cp:resourcecontrol id="Resourcecontrol1" runat="Server" resourcename="CP_Ads_SubTitle"></cp:resourcecontrol><BR>
		</DIV>
	<CP:FileOnlyStatusMessage id="FOStatus" runat="server" visible="false"></CP:FileOnlyStatusMessage>
	<asp:PlaceHolder id="OptionHolder" runat="Server">
		<CP:ConfigOKStatusMessage id="Status" runat="server" visible="false"></CP:ConfigOKStatusMessage>
	<div class="FixedWidthContainer">
		<table cellpadding="0" cellspacing="0" border="0" width="60%">
		<tr>
		<td class="CommonFormFieldName">
			<strong><cp:resourcecontrol runat="Server" resourcename="CP_Ads_Enable" /></strong><br />
			<cp:resourcecontrol runat="Server" resourcename="CP_Ads_Enable_Help" />
		</td>
		<td class="CommonFormField">
			<asp:checkbox id="enableAds" runat="Server" cssclass="ControlPanelTextInput"></asp:checkbox>
		</td>
		</tr>
		
		<tr>
		<td class="CommonFormFieldName">
			<strong><cp:resourcecontrol runat="Server" resourcename="CP_Ads_Inline_Enable" /></strong><br />
			<cp:resourcecontrol runat="Server" resourcename="CP_Ads_Inline_Enable_Help" />
		</td>
		<td class="CommonFormField">
			<asp:checkbox id="enableInline" runat="Server" cssclass="ControlPanelTextInput"></asp:checkbox>
		</td>
		</tr>
		<tr>
		<td colspan="2">
		    <div class="CommonFormFieldName">
			    <strong><cp:resourcecontrol runat="Server" resourcename="CP_Ads_Roles" /></strong><br />
			    <cp:resourcecontrol runat="Server" resourcename="CP_Ads_Roles_Help" />
            </div>
            <div class="CommonFormField">
			    <asp:checkboxlist id="rolelist" runat="Server" cssclass="ControlPanelTextInput" TextAlign="Right" RepeatLayout="Table" RepeatDirection="Vertical" RepeatColumns="2" CellSpacing="3" CellPadding="3" />
		    </div>
		</td>
		</tr>
		</table>
		</div>
		<p class="PanelSaveButton DetailsFixedWidth">
			<cp:ResourceLinkButton id="SaveButton" runat="Server" CssClass="CommonTextButton" ResourceName="Save"></cp:ResourceLinkButton></p>
	</asp:PlaceHolder>
</asp:Content>